package com.dmz.workflow.vo;


import com.alibaba.fastjson.annotation.JSONField;
import com.echronos.commons.utils.TimeSerializerUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * 流程节点JSON信息
 */
@Data
@ApiModel(value = "ProcessJson对象", description = "ProcessJson")
public class ProcessJsonVo {


    /**
     *  id 
     */
    @ApiModelProperty(value = "id")
    private Integer id;
    /**
     *  流程json 
     */
    @ApiModelProperty(value = "流程json")
    private String processJson;
    /**
     *  创建时间 
     */
    @ApiModelProperty(value = "创建时间")
    @JSONField(serializeUsing = TimeSerializerUtils.class)
    private LocalDateTime creationTime;
    /**
     *  公司id 
     */
    @ApiModelProperty(value = "公司id")
    private Integer companyId;
    /**
     *  创建人 
     */
    @ApiModelProperty(value = "创建人")
    private Integer creationUser;
    /**
     *  流程定义id 
     */
    @ApiModelProperty(value = "流程定义id")
    private String processDefinitionId;

    /**
     *  会话id
     */
    @ApiModelProperty(value = "会话id")
    private Integer sessionId;
    /**
     *  会话类型Id
     */
    @ApiModelProperty(value = "会话类型Id")
    private Integer typeId;


    /**
     * 流程名称
     */
    @ApiModelProperty(value = "流程名称")
    private String name;


    /**
     * 用于存储流程Json树
     */
    @ApiModelProperty(value = "流程Json树")
    private String processJsonTree;
}